package com.tongfusoft.base.data.tsm;

import com.tongfusoft.web.core.annotation.LogDesc;
import com.tongfusoft.web.core.data.ResourceData;

@LogDesc(expression = "resName", value = "资源")
public class TsmResources extends ResourceData {

	/**
	 * 资源编号
	 */
	private String resId;
	/**
	 * 资源名称
	 */
	private String resName;
	/**
	 * 资源描述
	 */
	private String resDesc;
	/**
	 * 资源类型(url、method...)
	 */
	private String resType;
	/**
	 * 资源优先级
	 */
	private String resPriority;
	/**
	 * 资源内容
	 */
	private String resContent;
	/**
	 * 状态[0:无效,1:有效]
	 */
	private String status;

	@Override
	public String getResourceName() {
		return this.getResName();
	}

	@Override
	public String getResourceDesc() {
		return this.getResDesc();
	}

	@Override
	public String getResourceType() {
		return this.getResType();
	}

	@Override
	public String getResourceContent() {
		return this.getResContent();
	}

	@Override
	public String getPkName() {
		return "resId";
	}

	@Override
	public String getTableName() {
		return "TSM_RESOURCES";
	}

	public String getResId() {
		return resId;
	}

	public void setResId(String resId) {
		this.resId = resId;
	}

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public String getResDesc() {
		return resDesc;
	}

	public void setResDesc(String resDesc) {
		this.resDesc = resDesc;
	}

	public String getResType() {
		return resType;
	}

	public void setResType(String resType) {
		this.resType = resType;
	}

	public String getResPriority() {
		return resPriority;
	}

	public void setResPriority(String resPriority) {
		this.resPriority = resPriority;
	}

	public String getResContent() {
		return resContent;
	}

	public void setResContent(String resContent) {
		this.resContent = resContent;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
